<p class="validateTips">请输入以下内容.</p>
<form id="bunddleItemForm" action="<?php echo URL::site("boBunddleItem/update")?>"
	method='post' enctype="multipart/form-data">
<table id="dish" class="ui-widget ui-widget-content" width="100%">
	<tr>
		<td width="30%">名称</td>
		<td><input type="text" name="name" id="name"
			class="text ui-widget-content ui-corner-all" value="<?php echo $result->name?>"/></td>
	</tr>
	<tr>
		<td width="30%">原价</td>
		<td><input type="text" name="originalPrice" id="originalPrice"
			class="text ui-widget-content ui-corner-all" value="<?php echo $result->originalprice?>"/></td>
	</tr>
	<tr>
		<td width="30%">特价</td>
		<td><input type="text" name="discountPrice" id="discountPrice"
			class="text ui-widget-content ui-corner-all" value="<?php echo $result->discountprice?>"/></td>
	</tr>
	<tr>
		<td width="30%">数量</td>
		<td><input type="text" name="quantity" id="quantity"
			class="text ui-widget-content ui-corner-all" value="<?php echo $result->quantity?>"/></td>
	</tr>
	<tr>
		<td width="30%">图片</td>
		<td><?php 
			if (!empty($result->picture)){
				echo '<a target="_blank" href="'.URL::base().BUNDDLE_ITEM_IMG_PATH.$result->picture.'"><img src="'.URL::base().BUNDDLE_ITEM_IMG_PATH.$result->picture.'" style="height:14ps" width="200ps" /></a>';
			}
			echo Form::file('file', array('id'=>'file','class'=>'text ui-widget-content ui-corner-all'));
			?></td>
	</tr>
	<tr>
		<td width="30%">描述</td>
		<td><textarea name="desc" id="desc"
			class="text ui-widget-content ui-corner-all" ><?php echo $result->desc?></textarea></td>
	</tr>
</table>
</form>
